import request from '@/utils/request'

// user/getFansList   粉丝列表
// user/getFansOrderList    粉丝订单列表
// user/getCashIncomeList 现金收益列表
// user/getPointsIncomeList  积分收益列表
// userRecommendCash  用户推荐现金

// 粉丝列表
export function getFansList(query) {
  return request({
    url: '/user/getFansList',
    method: 'get',
    params: query
  })
}
// 粉丝订单列表
export function getFansOrderList(query) {
  return request({
    url: '/user/getFansOrderList',
    method: 'get',
    params: query
  })
}
// 现金收益列表
export function getCashIncomeList(query) {
  return request({
    url: '/user/getCashIncomeList',
    method: 'get',
    params: query
  })
}
// 现金收益列表
export function getPointsIncomeList(query) {
  return request({
    url: '/user/getPointsIncomeList',
    method: 'get',
    params: query
  })
}

// 现金收益列表
export function getUserRecommendCash() {
  return request({
    url: '/user/userRecommendCash',
    method: 'get'
  })
}

export function getInfoById(query) {
  return request({
    url: '/user/getInfoById',
    method: 'get',
    params: query
  })
}

// user/getRecommendedRewardsList  用户推荐收益列表
export function getRecommendedRewardsList(data) {
  return request({
    url: '/user/getRecommendedRewardsList',
    method: 'get',
    params:data
  })
}
